
package com.gzbsoft.sc.modules.sys.entity;
import io.ebean.annotation.DbComment;
import io.ebean.annotation.DocStore;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotBlank;
@DocStore
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@Table(name = "sys_config")
@DbComment("系统配置信息表")
public class SysConfig extends BaseEntity {
    @NotBlank(message = "参数名不能为空")
    private String name;
    @NotBlank(message = "参数值不能为空")
    private String value;
}
